vector<string> buildArray(vector<int>& target, int n) 
    {
        vector<string> vs;
        int j =target.size();
        int m =0;

        for(int i =1;i<=target[target.size()-1];i++)
        {
           
            if(i==target[m])
            {
                m++;
                vs.push_back("Push");
            }
            else
            {
                vs.push_back("Push");
                vs.push_back("Pop");
            }
        }
        
        return vs;
    }